package com.zy.thread.product_con;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/14 16:26
 **/
public class TestProduct {
    public static void main(String[] args) {
        Clerk clerk = new Clerk();
        Thread productThread = new Thread(new Productor(clerk));
        Thread conThread = new Thread(new Consumer(clerk));
        productThread.start();
        conThread.start();
    }

}
